package com.jtzc.aikf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 文档数据对象
 * @author wufagang
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("documents")
public class DocumentDO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer knowledgeBaseId;

    private String fileName;

    private String fileType;

    private String filePath;

    private String createBy;

    @TableField("create_time")
    private Date createTime;

    private String updateBy;

    @TableField("update_time")
    private Date updateTime;
}